<!--
 * @Author: 张定勇 zhangdingyong@mi-ya.com.cn
 * @Date: 2025-05-16 20:44:30
 * @LastEditors: 张定勇 zhangdingyong@mi-ya.com.cn
 * @LastEditTime: 2025-05-17 22:07:00
 * @FilePath: /code/components/ucHead.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
  <view class="c-header">
    <ucBar></ucBar>
    <view class="header">
     <!-- <navigator class="header-user" url="/pages/user/user" hover-class="none">
        <view class="uc-flex">
          <view class="face">
            <image
              src="https://my.bziyun.com/20250619/face-default_1750324928973.png"
              mode="aspectFill"
            ></image>
          </view>
          <view class="r">个人中心</view>
        </view>
      </navigator> -->
      <view class="header-title" v-if="title">{{ title }}</view>
      <slot></slot>
    </view>
  </view>
  <ucBar></ucBar>
  <view class="c-header-space"></view>
</template>
<script setup>
import ucBar from '@/components/ucBar';
import { ref } from 'vue';
defineProps({
  title: {
    type: String,
    default: ''
  }
});
const showMemu = ref(false);
const btnMenu = () => {
  showMemu.value = !showMemu.value;
};
</script>
